<template>
	<div>
	<top-nav bgColor="white" title="订单详情"  btnName="btn"  :rightShow="false"  returnPath="上一级" ></top-nav>
	<div style="width: 100%;height: 3rem;"></div>
	{{orderNumber}}
	{{customerInfo}}
	</div>
</template>

<script>
	 import TopNav from '@/components/nav/topNav.vue'
	  export default {
		components: {
		      TopNav
		},
		data(){
			return{
			orderNumber:'123',
			remarks:'',
			customerInfo:'',
			orderTime:'',
			materiel:'',
			quantity:''
		
			}
		},
		mounted(){
			this.orderNumber=this.$route.params.orderNumber
			this.remarks=this.$route.params.remarks
			this.customerInfo=this.$route.params.customerInfo
			this.orderTime=this.$route.params.orderTime
			this.materiel=this.$route.params.materiel
			this.quantity=this.$route.params.quantity
			this.getAllSalesCarByorder()	
		},
		methods:{
				getAllSalesCarByorder(){
				let that=this
				that.axios.post('/demo/getAllSalesCarByorder',{
					'factoryId':this.$parent.factoryId,
					'uid':this.$parent.factoryInfo.UID,
					'currentpage':'1',
					'assid':that.$route.params.assid,
					'itemid':that.$route.params.itemid,
					'customerid':that.$route.params.customerid,
					'organizeid':that.$route.params.organizeid,
					'orderid':that.$route.params.orderid
					
					
				}).then(function(response){
					that.list=response.data.data.list
					console.info(response.data.data.list)
				}).catch(function(error){
					
				})
				}
	 		}
		}
</script>

<style>
</style>